<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 5, 2013 11:44:43 PM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreLeaveRequest" table="hre_leave_request" catalog="hrentry_db">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="empNum" type="int">
            <column name="emp_num" not-null="true" />
        </property>
        <property name="firstLeave" type="timestamp">
            <column name="first_leave" length="19" not-null="true" />
        </property>
        <property name="lastLeave" type="timestamp">
            <column name="last_leave" length="19" not-null="true" />
        </property>
        <property name="supervisorNum" type="int">
            <column name="supervisor_num" not-null="true" />
        </property>
        <property name="approved" type="java.lang.Boolean">
            <column name="approved" />
        </property>
        <property name="leaveTypeId" type="int">
            <column name="leave_type_id" not-null="true" />
        </property>
        <property name="dateCreated" type="timestamp">
            <column name="date_created" length="19" />
        </property>
        <property name="dateModified" type="timestamp">
            <column name="date_modified" length="19" />
        </property>
        <property name="empComment" type="string">
            <column name="emp_comment" length="445" />
        </property>
        <property name="finalApproved" type="java.lang.Boolean">
            <column name="final_approved" />
        </property>
        <property name="totalLeaved" type="java.lang.Float">
            <column name="total_leaved" precision="12" scale="0" />
        </property>
        <property name="supComment" type="string">
            <column name="sup_comment" length="445" />
        </property>
    </class>
</hibernate-mapping>
